/**
 * Copyright 2019 [shujiang.yang], Inc. All rights reserved.
 * Email: 314938230@qq.com
**/
package awd.bj.jls.webs.controller;

import javax.servlet.http.HttpServletRequest;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

import awd.bj.jls.webs.api.JlsServersApi;

@Controller
@RequestMapping("/lxcl")
@RefreshScope
public class LxclAction extends BaseAction {

    @Autowired
    private JlsServersApi jlsServersApi;

    @RequestMapping({"/lxcl.html" //首页
            ,"/lxcl_enter.html" //单表录入页面
            ,"/lxcl_jbxx_enter.html" //人员信息查询页面
            ,"/lxcl_query.html" //信息查询
            ,"/lxcl_jbxx_query.html" //关联基本信息查询
            ,"/6.html" //
            ,"/7.html"})
    public String index(Model model, HttpServletRequest request) {
        model.addAllAttributes(getBaseModelData());
        return getRenderFilePath(request);
    }

}